package com.ruoyi.jiekou.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商户接口价格对象 inter_price
 *
 * @author zt
 * @date 2023-11-29
 */
public class InterPrice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String merchantCode;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String jfCode;

    private String name;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal price;

    public InterPrice(Long userId) {
        this.userId = userId;
    }

    public InterPrice(String jfCode, String name, BigDecimal price) {
        this.jfCode = jfCode;
        this.name = name;
        this.price = price;
    }

    public InterPrice(Integer id, BigDecimal price) {
        this.id = id;
        this.price = price;
    }

    public InterPrice(String merchantCode, String jfCode) {
        this.merchantCode = merchantCode;
        this.jfCode = jfCode;
    }

    public InterPrice() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setMerchantCode(String merchantCode)
    {
        this.merchantCode = merchantCode;
    }

    public String getMerchantCode()
    {
        return merchantCode;
    }
    public void setJfCode(String jfCode)
    {
        this.jfCode = jfCode;
    }

    public String getJfCode()
    {
        return jfCode;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("merchantCode", getMerchantCode())
            .append("jfCode", getJfCode())
            .append("price", getPrice())
            .toString();
    }
}
